/* 用户中心样式 */
.card {
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.card-body {
    padding: 30px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-user .image {
    height: 120px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.card-user .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button-container .btn {
    margin: 0 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: #5e72e4;
    box-shadow: 0 0 0 2px rgba(94, 114, 228, 0.2);
}

.btn-primary {
    background-color: #5e72e4;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #4a5acf;
}

/* Toast通知 */
.alert.fixed-top {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        top: 10px;
    }
    10% {
        opacity: 1;
        top: 20px;
    }
    90% {
        opacity: 1;
        top: 20px;
    }
    100% {
        opacity: 0;
        top: 10px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .col-md-8, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-user {
        margin-top: 30px;
    }
}